﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Giris.Master" AutoEventWireup="true"
    CodeBehind="SifremiUnuttum.aspx.cs" Inherits="IKYSWeb.Yetki.SifremiUnuttum" %>

<%@ Register Src="../UserControls/Tarih.ascx" TagName="Tarih" TagPrefix="uc1" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<%@ Register Src="../UserControls/Sayi.ascx" TagName="Sayi" TagPrefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPH" runat="server">
    <table>
        <tr>
            <td>
                <img src="../App_Themes/dib/images/SifreUnuttumAciklama.PNG" />
            </td>
            <td valign="top">
                <div id="login">
                    <asp:Panel ID="pnlSifreHatirlat" runat="server">
                        <label>
                            E-Posta:<br />
                            <asp:TextBox ID="txtEPosta" runat="server" CssClass="input"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvMail" runat="server" ControlToValidate="txtEPosta"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="revMail" runat="server" ControlToValidate="txtEPosta"
                                ErrorMessage="Mail Hatalı" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                        </label>

                        <p class="submit">
                            <asp:Button ID="btnTamam" runat="server" Text="Devam" OnClick="btnTamam_Click" />
                            <br />
                            <asp:Label ID="lblError" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
                        </p>
                    </asp:Panel>
                    <asp:Panel ID="pnlYeniSifreBelirle" runat="server">
                        <label>
                            TC Kimlik No:<br />
                            <asp:TextBox ID="txtTCKimlikNo" runat="server" CssClass="inputSimgesiz"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvTC" runat="server" ControlToValidate="txtTCKimlikNo"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </label>
                        <label>
                            Adınız:<br />
                            <asp:TextBox ID="txtAd" runat="server" CssClass="inputSimgesiz"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rqv5" runat="server" ControlToValidate="txtAd"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </label>
                        <label>
                            Soyadınız:<br />
                            <asp:TextBox ID="txtSoyad" runat="server" CssClass="inputSimgesiz"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rqv4" runat="server" ControlToValidate="txtSoyad"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </label>
                        <label>
                            Baba adınız:<br />
                            <asp:TextBox ID="txtBabaAd" runat="server" CssClass="inputSimgesiz"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rqv3" runat="server" ControlToValidate="txtBabaAd"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </label>
                        <label>
                            Anne adınız:<br />
                            <asp:TextBox ID="txtAnneAd" runat="server" CssClass="inputSimgesiz"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rqv2" runat="server" ControlToValidate="txtAnneAd"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </label>
                        <label>
                            Doğum tarihiniz:
                            <br />
                            <uc1:Tarih ID="ucDogumTarihi" AllowEmpty="false" runat="server" />
                        </label>
                       <br /> <br />
                        <label>Nüfusa Kayıtlı Olduğu </label>
                        <br /><br />
                        <table>
                           <tr>
                                <td>
                                    <label>
                                        Cilt No :<br />
                                        <uc2:Sayi ID="txtCiltNoSayi" Width="50" runat="server" AllowEmpty="false" />
                                    </label>
                                </td>
                                <td>
                                    <label>
                                        Aile Sıra No :<br />
                                        <uc2:Sayi ID="txtAileSiraNoSayi" Width="50" runat="server" AllowEmpty="false" />
                                    </label>
                                </td>
                                <td>
                                    <label>
                                        Sıra No :<br />
                                        <uc2:Sayi ID="txtSiraNoSayi" Width="50" runat="server" AllowEmpty="false" />
                                    </label>
                                </td>
                            </tr>
                        </table> 

                        <br />
                        <label>
                            Nüfusa Kayıtlı olduğunuz il
                            <br />
                            <asp:DropDownList ID="ddlIl" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlIl_SelectedIndexChanged"></asp:DropDownList>
                        </label>
                        <br />
                        <label>
                            Nüfusa Kayıtlı olduğunuz ilçe:<br />
                            <asp:DropDownList ID="ddlIlce" runat="server"></asp:DropDownList>
                        </label>
                        <br />
                        <label>
                            Şifre<br />
                            <asp:TextBox ID="txtSifreYeni" runat="server" TextMode="Password" CssClass="input password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvSifreYeni" runat="server" ControlToValidate="txtSifreYeni"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </label>
                        <br />
                        <label>
                            Şifre (Tekrar)
                         <br />
                            <asp:TextBox ID="txtSifreYeni2" runat="server" TextMode="Password" CssClass="input password"></asp:TextBox>
                            <asp:CompareValidator ID="cvSifreYeni2" runat="server" ControlToCompare="txtSifreYeni2"
                                ControlToValidate="txtSifreYeni" ErrorMessage="Şifre tekrarı girilen şifre ile aynı olmalıdır."></asp:CompareValidator>
                        </label>
                        <p class="submit">
                            <asp:Button ID="btnYeniSifreBelirle" runat="server" Text="Yeni Şifreyi Kaydet"
                                OnClick="btnYeniSifreBelirle_Click" />
                            <br />
                            <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
                        </p>
                    </asp:Panel>
                </div>
            </td>
        </tr>
    </table>

</asp:Content>
